home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 February
/
EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso
/
earcd
/
-recent3
/
re_xx.lha
/
Re_xx
/
Re_xx.yam
< prev
Wrap
Text File
|
1999-02-20
|
836b
|
37 lines
/* $VER: Re_xx 1.2 © 1998 - 1999 by Nikola Smolenski <smolensk@eunet.yu>
This script allows you to have Re[xx]: again in YAM 2.0!
Installation:
Copy Re_xx.rexx to YAM:Rexx/
In Configuration/Arexx/Before writing a message :
Enter Rexx/Re_xx.yam in 'Script' gadget
Select Arexx for type of command
Turn 'Wait for termination' gadget OFF
*/
options results
address YAM
'FOLDERINFO STEM f.'
if f.number~=1 then do
'MAILINFO STEM m.'
r=upper(word(m.subject,1))
if r="RE:" then do
r1=upper(word(m.subject,2))
if left(r1,3)="RE[" & right(r1,2)="]:" then
s="Re["substr(r1,4,length(r1)-5)+2"]: "delword(m.subject,1,2)
else
s="Re[2]: "delword(m.subject,1,1)
end
else do
if left(r,3)="RE[" & right(r,2)="]:" then
s="Re["substr(r,4,length(r)-5)+1"]: "delword(m.subject,1,1)
else
exit
end
'WRITESUBJECT "'s'"'
end